package com.xthink.common.pojo.polo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

@Data
@TableName("tb_pool")
public class Pool {
    /*
    * 流量池Id
    * */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /*
    * 流量池名称
    * */
    @TableField("pool_name")
    private String poolName;

    /*
    * 池类型
    * */
    @TableField("pool_type")
    private Integer poolType;

    /*
    * 池套餐
    * */
    @TableField("pool_package")
    private String poolPackage;

    /*
    * 当月池总量
    * */
    @TableField("pool_total")
    private Double poolTotal;

    /*
    * 当月池用量
    * */
    @TableField("pool_consumption")
    private Double poolConsumption;

    /*
    * 池成员数
    * */
    @TableField("pool_member")
    private Integer poolMember;

    /*
    * 池小组数
    * */
    @TableField("pool_group")
    private Integer poolGroup;

    /*
    * 卡总数
    * */
    @TableField("card_total")
    private Integer cardTotal;

    /*
    * 上下架状态
    * */
    @TableField("status")
    private Integer status;

    /*
     * 注册时间,字段自动填充内容
     * */
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private Date createTime;

    /*
     * 更新时间，字段自动填充内容
     * */
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    /*
    * 删除标识
    * */
    @TableField("del_flag")
    private Integer delFlag;
}
